<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
<!--
$Id: index.html,v 1.4 2005/10/10 03:09:26 mfrumin Exp $

This file is part of VGMap: http://vgmap.eyebeamresearch.org

Distributed under the Gnu Public License, see LICENSE

Copyright Copyright 2005 Michael Frumin
mfrumin@eyebeam.org, http://eyebeam.org
-->

    <title>Simple VGMap Example by Eyebeam R&amp;D: Lat/Long grid on top of Google Maps </title>

<!-- get your own Google Maps API key at http://www.google.com/apis/maps/signup.html as use it here -->

    <script src="http://maps.google.com/maps?file=api&v=1&key=GET_YOUR_OWN_GMAP_API_KEY" type="text/javascript"></script>

<!-- 
     the relative paths below have '../' because we are in the 'example' directory under
     the vgmap distribution.  if you are just placing the vgmap distribution into the same
     directory as your new project, you will probably use 'vgmap/' as the relative path
-->
    <script type="text/javascript" src="js/JavaScriptFlashGateway.js"></script>
    <script type="text/javascript" src="js/VGMap.js"></script>

  </head>
  <body>

<h1><a href="http://vgmap.eyebeamresearch.org">VGMap</a> Example: Dynamic Latitude/Longitude Grid</h1>


<div id="map" name="map" style="width:600px; height:600px; border: solid 1px black;"></div>
<div id="overlay" name="overlay" style="z-index: 0;"></div>

<p>
  This uses the <a href="http://vgmap.eyebeamresearch.org">VGMap</a> library by 
  <a href="http://www.eyebeamresearch.org">Eyebeam R&amp;D</a>,
  and is not affilliated with <a href="http://www.google.com">Google</a> at all.
</p>

<div id="debug" name="debug" style="display: none;"></div>

<script type="text/javascript">
//<![CDATA[

if (GBrowserIsCompatible()) {
    var map = new GMap(document.getElementById("map"));
    map.addControl(new GLargeMapControl());
    map.addControl(new GMapTypeControl());
    map.centerAndZoom(new GPoint(-73.986508, 40.755932), 5);
}


// same schpiel about relative paths as above in the <head> section
var GMO = new VGMap(map, "map", "overlay", "../", "debug");

GMO.go(50, "ll.swf", "dummyKey1=dummyVal1&dummyKey2=dummyVal2");

//]]>
</script>

</body>
</html>
